import { createApp } from "vue";
import { setupStore } from "@/store/index";
// import { RecycleScroller } from "vue-virtual-scroller";
import MacOS from "./App.vue";
let macOS = createApp(MacOS);

setupStore(macOS);

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from "element-plus/es/locale/lang/zh-cn";
macOS.use(ElementPlus, {
  locale: zhCn,
});

import "@/assets/css/app.css";
import "@/assets/css/animation.css";
import "animate.css";
// import "vue-virtual-scroller/dist/vue-virtual-scroller.css";

import tool from "./helper/tool";
macOS.config.globalProperties.tool = tool;

import config from "./config/config";
macOS.config.globalProperties.config = config;
// macOS.component("RecycleScroller", RecycleScroller);
macOS.mount("#app");
